package stuman.util;

import java.io.Serializable;
import java.util.ArrayList;

import stuman.entity.Student;
import stuman.entity.Subject;

public class Container implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public static ArrayList<Student> students = new ArrayList<Student>();
	
	public static Student getStudent(String s){
		for (int i=0; i<students.size(); i++){
			if (students.get(i).getFirstName().toString().equals(s)){
				return students.get(i);
			}
		}
		return null;
	}
}
